

import { createRouter, createWebHistory} from "vue-router";

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "/",
      redirect: "/add"
    },
    {
      path: "/add",
      component:()=>import("../views/MoneyAddView.vue")
    },
    {
      path: "/show",
      component: () => import("../views/ShowView.vue")
    },
  ]
})

export default router;  